import mongoose from "mongoose";
// import { encrypt } from "../utils/bcryptjs";
const searchLogRuler = new mongoose.Schema({
  title: { type: String, require: true },
  userid: { type: String, require: true },
  createTime: {
    type: Number,
    default: (new Date().getTime() / 1000).toFixed(0),
  },
});
const searchLogModel = mongoose.model("searchLogInfo", searchLogRuler);
export { searchLogModel };
